//
//  WebViewController.swift
//  globalcarbusiness
//
//  Created by dongzhenyu on 2017/8/16.
//  Copyright © 2017年 dongzhenyu. All rights reserved.
//

import UIKit
import WebKit

class WebViewController: UIViewController {

    var link: String!
    
    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.white
        let web = WKWebView(frame: CGRect(x: 0, y: 0, width: kScreenW, height: kScreenH - 64))
        let request = URLRequest(url: URL(string: link)!)
        web.load(request)
        view.addSubview(web)
    }

}
